package com.atguigu.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @author: XieHaichuan
 * @create: 2021-08-06 10:23
 **/
@Component
public class PaymentFallbackService implements PaymentHystrixService{
    @Override
    public String paymentInfo_OK(Integer id) {
        return "我是解耦后的降级服务paymentInfo_OK,/(ㄒoㄒ)/~~";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "我是解耦后的降级服务paymentInfo_TimeOut,/(ㄒoㄒ)/~~";
    }
}
